package cn.getech.data.development.entity.dataMap;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

@Data
@TableName(value = "hive_data_type")
public class HiveDataType implements Serializable {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * hive数据类型
     */
    @TableField(value = "hive_type")
    private String hiveType;

    /**
     * mysql 数据类型
     */
    @TableField(value = "mysql_type")
    private String mysqlType;

    /**
     * oracle_类型
     */
    @TableField(value = "oracle_type")
    private String oracleType;

    /**
     * sql_sever_type
     */
    @TableField(value = "sql_sever_type")
    private String sqlSeverType;

    /**
     * postgresql类型
     */
    @TableField(value = "postgresql")
    private String postgresql;

    /**
     * sqphana_type
     */
    @TableField(value = "sqphana_type")
    private String sqphanaType;

    @TableField(value = "kafka_type")
    private String kafkaType;
    /**
     * 删除 1 是,0 否
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    private static final long serialVersionUID = 1L;
}